package com.sls.sys.service;

import java.util.List;

import com.sls.core.socket.Head;
import com.sls.page.Pagination;
import com.sls.sys.pojo.PermissionInfo;
import com.sls.sys.pojo.PermissionInfoVO;

public interface PermissionService {
	/**
	 * 添加权限信息
	 * @param body
	 * @param head
	 * @return
	 * @throws Exception
	 */
	public void save(String body, Head head) throws Exception;

	public void update(String body, Head head) throws Exception;

	public List<PermissionInfoVO> queryAllInfo(String body, Head head) throws Exception;

	public PermissionInfo queryInfoByServiceCode(String body, Head head)
			throws Exception;

	public Pagination<PermissionInfoVO> queryPermission(String body, Head head) throws Exception;

	public void delete(String body, Head head) throws Exception;
}
